layoutoverlay: Avoid adding transparent color nodes
authorTimm Bäder <mail@baedert.org>
Mon, 21 Dec 2020 07:34:25 +0000 (08:34 +0100)
committerTimm Bäder <mail@baedert.org>
Mon, 21 Dec 2020 09:26:03 +0000 (10:26 +0100)
commitc34f98931e551b64141240820cd1eff218505b13
treed0f33ba38d064dd8c6801e4cd6ae2bde9bb6725e
parent2feac2772fe79aadd9e0811b7ff8d44c19a276a6
layoutoverlay: Avoid adding transparent color nodes

We have a region for the border here, but the color is defined as
transparent black because we don't want to render anything for it.

This way, the generated .node file for the listbox demo in gtk4-demo
with enabled layout borders is 3.5MB instead of 3.8MB.
gtk/inspector/layoutoverlay.c